// src\router\index.js
// 统一管理路由
import Layout from "@/pages/Layout";
import Month from "@/pages/Month";
import Year from "@/pages/Year";
import New from "@/pages/New";

const router=[
    {
        path:'/',
        element:<Layout/>,
        children:[
            {
                path:'month',
                element:<Month/>
            },
            {
                path:'year',
                element:<Year/>
            },

        ]
    },
    {
        path:'/new',
        element:<New/>
    }
    
]

export default router;